(Man-getpage-in-background): Add windows-nt to the list
authorEli Zaretskii <eliz@gnu.org>
Sat, 26 Jun 2004 09:44:56 +0000 (09:44 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 26 Jun 2004 09:44:56 +0000 (09:44 +0000)
of systems where shell-file-name should be used instead of
literal "sh".

lisp/man.el

index 5a07045dda92ae8b0889873aeffdfc6c81dc4caa..cbfae21e44b117bbba5e00206d1b376603b20a53 100644 (file)
@@ -733,7 +733,9 @@ all sections related to a subject, put something appropriate into the
        (if (fboundp 'start-process)
            (set-process-sentinel
             (start-process manual-program buffer
-                           (if (eq system-type 'cygwin) shell-file-name "sh")
+                           (if (memq system-type '(cygwin windows-nt))
+                               shell-file-name
+                             "sh")
                            shell-command-switch
                            (format (Man-build-man-command) man-args))
             'Man-bgproc-sentinel)